count the number of consistent strings leetcode

visit shbcf.ru